<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	xmlns:pe="http://primefaces.org/ui/extensions"
	xmlns:ui="http://java.sun.com/jsf/facelets">
<h:head>
<script>
// $(function() {
// 	 $(document).keydown(function(e){
// 	  var code = (e.keyCode ? e.keyCode : e.which);
// 	  if(code == 116) {
// 	  return false;
// 	  }
// 	 });
// 	});
	
// $(document).ready(function(){
//     $(document).bind("contextmenu",function(e){
//         return false;
//     });
// });

</script>
</h:head>
<h:body >
	
	<h:outputStylesheet library="css" name="global.css"  />
	<h:outputStylesheet library="css" name="template.css"  />
	<h:outputStylesheet library="css" name="themeDelta.css"  />


	<pe:layout id="fullPage" fullPage="true"  
		options="#{fullLayoutController.layoutOptions}" 
		widgetVar="fpLayoutWidget"  >
		<pe:layoutPane position="center" >
			<div style="margin-bottom: 6px; "
				class="ui-widget-content ui-corner-all">
				<ui:include src="layouts/top.xhtml" />
				
			</div>

			<div class="ui-layout-content">
				<pe:layoutPane position="center" id="pnlCenter" >
					<h:panelGroup id="pnlCenterBody" layout="block" >
						<ui:include src="#{viewDispatcher.url}.xhtml" />
					 </h:panelGroup>
				</pe:layoutPane>
				<pe:layoutPane position="west" size="250" closable="true">
					<pe:layoutPane position="north" size="90" closable="false"
						id="pnlLogo">
						<p:graphicImage value="resources/img/logo.png" />
					</pe:layoutPane>

					<pe:layoutPane position="center">
						<ui:include src="layouts/left.xhtml" />
					</pe:layoutPane>
				</pe:layoutPane>
			</div>
		</pe:layoutPane>
	</pe:layout>
	
	<ui:include src="layouts/dialogs.xhtml" />
	
	<p:growl id="growl"
		showDetail="#{templateConfiguration.GRWL_SHOWDETAIL}"
		autoUpdate="true"
		life="#{templateConfiguration.GRWL_LIFE}" globalOnly="true" />
		
	<pe:tooltip global="true" autoShow="true"  position="left center" targetPosition="right center"/>
	
</h:body>
</html>